
%Online Appendix Figure 2

load OAFig2data.mat
 

h1=plot(year, cumunemp(:,1), 'Color', [0.33 0.33 0.33], 'LineWidth', 3, 'LineStyle', '-', 'Marker', 's');

hold on;
ylim([-1 6.3]);
xlim([2002 2010]);
xlabel('Year');
ylabel('DID Coefficient Values');
title('Dependent Variable: Cumulative Unemployment Spells')


h2=plot(year, cumunemp(:,2),  'Color', [0.33 0.33 0.33],'LineWidth', 1, 'LineStyle', '--', 'Marker', 's');
hold on;
h3=plot(year, cumunemp(:,3), 'Color', [0.33 0.33 0.33],'LineWidth', 1, 'LineStyle', '--', 'Marker', 's');
hold on;
h4=plot(year, cumunemp_ls(:,1), 'Color', 'g','LineWidth', 3, 'LineStyle', '-', 'Marker', 'd');
hold on;
h5=plot(year, cumunemp_ls(:,2), 'Color', 'g','LineWidth', 1, 'LineStyle', '--', 'Marker', 'd');
hold on;
h6=plot(year, cumunemp_ls(:,3), 'Color', 'g','LineWidth', 1, 'LineStyle', '--', 'Marker', 'd');
legend( [h1 h2 h4 h5], {'Cumulative Unemployment Spells', '95% Confidence Interval',  ['Cumulative Unemployment Spells following' char(10) 'Service Sector Employment'], '95% Confidence Interval'}, 'Location','northwest');



legend boxoff
h=gcf ;
% saveas(h, 'OAFigure2.pdf');

